const state = {
  ProcessTabsContext: {},
  isEditTableHaveData: false,
};

const mutations = {
  setIsetProcessTabsdentity: (state, process) => {
    state.ProcessTabsContext = {
      ...process
    };
  },
  dataSourceLengthChange: (state, bool) => {
    state.isEditTableHaveData = bool
  }
};

const actions = {
  actionProcessTabs: ({commit}, process) => {
    commit('setProcessTabs', process)
  },
};

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
